package com.test.demo.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Qualifier;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Person {
    private String name;
    private Integer salary;
    private Integer age;
    private String gender;
    private String address;

    public Person(String name,Integer salary,String gender,String address){
        this.name = name;
        this.salary = salary;
        this.gender = gender;
        this.address = address;
    }
}
